<template>
  <div class="attach-viewer-pdf">
    <vue-office-pdf :src="url" />
  </div>
</template>
<script>
//引入VueOfficeDocx组件
import VueOfficePdf from "@vue-office/pdf";

export default {
  name: "AttachViewerDoc",
  components: { VueOfficePdf },
  props: ["url"],
  data() {
    return {};
  },
  mounted() {},
  computed: {},
  methods: {},
};
</script>
<style lang="scss" scoped>
.attach-viewer-pdf {
  height: 70vh;
  overflow-y: scroll;
}
</style>
